cd — Change Directory


\begin{rail}
CD : 'cd' '(' String ')' ;
\end{rail}
cd changes the location of the current working for . This affects any search paths that contain . (full stop), representing the current directory. It also changes the directory in which the diary files are written, and the directory in which the file read and write functions work on. The argument string supplies an absolute or relative pathname which specifies the new directory.

Subsections